const mysql = require('mysql2/promise');

const db = mysql.createPool({ 
    host:'localhost',
    port:3306,
    user:'root',
    password:'password',
    database:'ptea'
})

module.exports = db;